From 86ef17e461f90e14a94969f52dfe9db5c9fbd6bb Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc" Date: Wed, 24 Oct 2018 22:10:57 -0500 Subject: [PATCH] Fix lambda syntax --- tests/views/test_logout.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/views/test_logout.py b/tests/views/test_logout.py index 8a3ff74..dfeb4b9 100644 --- a/tests/views/test_logout.py +++ b/tests/views/test_logout.py @@ -28,7 +28,7 @@ def test_logout_view(monkeypatch): '''Deletes the session, returns no errors''' # Have the pyramid.view.view_config decorator do nothing monkeypatch.setattr(pyramid.view, 'view_config', - lambda **kwargs: (lambda(func): func)) + lambda **kwargs: (lambda func: func)) class MockSession(): def __init__(self): -- 2.34.1